Patch out the ast.Str reference in Kivy, for Python 3.14 compatibility#3241
Merged
AndreMiras merged 2 commits intokivy:developfrom Oct 22, 2025
Merged
Patch out the ast.Str reference in Kivy, for Python 3.14 compatibility#3241AndreMiras merged 2 commits intokivy:developfrom
ast.Str reference in Kivy, for Python 3.14 compatibility#3241AndreMiras merged 2 commits intokivy:developfrom
Conversation
It broke Python 3.14, and I don't think Kivy even supports Python 3.6 anymore
Contributor
Author
|
I thought the changes to the py3.14 recipe itself in 6559b2a were out of scope, but would not be opposed to putting them back in. |
AndreMiras
approved these changes
Oct 21, 2025
Member
|
LGTM thanks, I'll let it there for a couple of days and merge it if nobody has anything against it |
T-Dynamos
approved these changes
Oct 22, 2025
szk2005
pushed a commit
to szk2005/python-for-android
that referenced
this pull request
Feb 24, 2026
…ity (kivy#3241) * `python`: update to `3.14.0` * Patch out the reference to `ast.Str` in `kivy.lang.parser` It broke Python 3.14, and I don't think Kivy even supports Python 3.6 anymore --------- Co-authored-by: Ansh Dadwal <anshdadwal298@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The basic
kivyrecipe didn't work on Python 3.14, because Kivy 2.3.1, still the version in the recipe, has a line inkivy.lang.parserthat refers toast.Str, which no longer exists in Python 3.14. This PR adds a patch to remove that before building Kivy.I suppose this breaks Python 3.6 compatibility, but I don't think p4a supports that anymore.